<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>、
<%@ include file="/WEB-INF/commons/taglibs.jsp" %>
<%@ include file="/WEB-INF/commons/common-header.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<link href="${ctx}/css/custom.css" rel="stylesheet">
<meta  http-equiv="content-type" content="text/html;charset=utf-8">
<title>支付+签约</title>
<script>
	var HttpPathPay = "http://121.15.180.66:801/NetPayment/BaseHttp.dll?MB_EUserPay";
	var HttpPathSign = "http://paytest.shopping98.com/pay/gateway.shtml";
	
	//初始化参数
	$(function() {
		$("#client_ip").val("127.0.0.1");
		$("input[name=out_trade_no]").val(getNowFormatDate());
	});
	
	function getSign(){
		var out_trade_no =  $("input[name=out_trade_no]").val(getNowFormatDate());
		$("input[name=out_trade_no]").val(getNowFormatDate());
		
	}

</script>
</head>

<body text=#000000 bgColor="#ffffff" leftMargin=0 topMargin=4>
	<div id="main">
		<div id="head">
			<span class="title">支付+签约</span>
		</div>
		<div class="cashier-nav">
			<ol>
				<li class="current">1、确认信息 →</li>
				<li>2、点击确认 </li>
			</ol>
		</div>
		<form name="form" action="http://paytest.shopping98.com/pay/gateway.shtml" method=post target="_blank">
			<div id="body" style="clear: left">
				<dl class="content">
					<dt>订单号：</dt>
					<dd><span class="null-star">*</span> <input size="30" name="out_trade_no" value ="9999000001"/> <span>必填 </span></dd>
					<dt>订单名称：</dt>
					<dd><span class="null-star">*</span> <input size="30" name="body" value ="快捷支付"/> <span>必填 </span></dd>
					<dt>付款金额（分）：</dt>
					<dd><span class="null-star">*</span> <input size="30" name="total_fee" value="1"/> <span>必填 </span></dd>
					<dt></dt>
					<dt>服务器回写地址：</dt>
					<dd><span class="null-star">*</span> <input size="30" name="notify_url" value="http://www.merchant.com/path/WAPProcResult.dll"/> <span>必填 </span></dd>
					<dt>商户号：</dt>
					<dd><span class="null-star">*</span> <input size="30" name="merchant_no" value="562084306991529984"/> <span>必填 </span></dd>
					<dt>ip：</dt>
					<dd><span class="null-star">*</span> <input size="30" id="client_ip" name="client_ip" value="99.12.43.26"/> <span>必填 </span></dd>
					<dt>卡类型 ：</dt>
					<dd><span class="null-star">*</span> <input size="30" name="card_type" value="A"/> <span>必填  A-储蓄卡 不填储蓄卡和信用卡</span></dd>
					<dt>手机号码 ：</dt>
					<dd><span class="null-star">*</span> <input size="30" name="mobile" value="18202532653"/> <span>必填 </span></dd>
					<dt>超时时间：</dt>
					<dd><span class="null-star">*</span> <input size="30" name="time_expire" value="30"/> <span>必填 </span></dd>
					<dt>同步回调地址：</dt>
					<dd><span class="null-star">*</span> <input size="30" name="return_url" value="http://www.merchant.com/path/WAPProcResult.dll"/> <span>必填 </span></dd>
					<dt>签名：</dt>
					<dd><span class="null-star">*</span> <input size="30" name="sign" value=""/> <span>必填</span></dd>
					<dt>lon精度：</dt>
					<dd><span class="null-star">*</span> <input size="30" name="lon" value="30.949505"/> <span>选填 </span></dd>
					<dt>lat纬度：</dt>
					<dd><span class="null-star">*</span> <input size="30" name="lat" value="50.949506"/> <span>选填</span></dd>
					<dt>附加参数：</dt>
					<dd><span class="null-star">*</span> <input size="30" name="attach" value=""/> <span>选填</span></dd>
					<dd>
					<span class="new-btn-login-sp"><button class="new-btn-login" type="button" onclick="getSign()" style="text-align: center;">生成签名</button></span>
					<span class="new-btn-login-sp"><button class="new-btn-login" type="submit" style="text-align: center;">确 认</button></span></dd>
				</dl>
			</div>
			<input type="hidden" name="version" value="1.0">
			<input type="hidden" name="charset" value="UTF-8">
			<input type="hidden" name="sign_type" value="MD5">
		</form>
		<div id="foot">
			<ul class="foot-ul">
				<li><font class="note-help">如果您点击“确认”按钮，即表示您同意该次的执行操作。 </font></li>
			</ul>
		</div>
	</div>
</body>
</html>
